package com.baidu.Chapter02;

import java.util.Scanner;

public class ex2_12 {
    public static void main(String[] args) {
        System.out.print("Enter speed and acceleration：");
        Scanner sc=new Scanner(System.in);
        double v= sc.nextDouble();
        double a= sc.nextDouble();
        double length= v*v/(2*a);
        System.out.printf("The minimum runway length for this airplane is %.3f\n",length);
    }
}
